<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .login {
            margin-top: 10px;
            margin-bottom: 10px;
        }
        .message {
            color: red;
        }
    </style>
</head>
<body>
<h1>register</h1>
<form action="/user/register" method="post">
    username: <input class="login" type="text" name="user_name"><br>
    password: <input class="login" type="password" name="password"><br>
    <button class="login" type="submit">确认</button>
    <button class="login"><a href="/">返回</a></button>
</form>
<div class="message">{{ .message }}</div>
</body>
</html>